package com.wk1un2.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wk1un2.entity.ArrposidProduct;

public interface ArrposidProductMapper {
	public List<ArrposidProduct> getAll(@Param("page") int page, @Param("limit") int limit,
			@Param("a_id") String a_id, @Param("p_id") String p_id);

	public Integer count();

	public Integer add(Map<String, Object> map);

	public Integer update(Map<String, Object> map);

	public Integer delete(@Param("arrp_id") int arrp_id);
	
	public List<Map<String, Object>> getRecPro(@Param("a_name") String a_name);
}
